home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / c / library / mslang / poetmf / inc / pictdlg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-10-25  |  1.3 KB  |  49 lines

  1. // ******************************************************************
  2. //
  3. //    pictdlg.h : header file
  4. // 
  5. //  Most of this file is created by ClassWizard
  6. //
  7. //    (C) 1993 POET Software
  8. //
  9. // ******************************************************************
  10.  
  11. #include "..\resource.h"    //    resource IDs
  12. #include <bitmap.h>            //    header to bitmapclass
  13.  
  14. #ifndef __PICTDLG_H__
  15. #define __PICTDLG_H__
  16.  
  17.  
  18.     
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CShowPictDlg dialog
  21.  
  22. class CShowPictDlg : public CDialog
  23. {
  24. private:
  25.     Bitmap        m_Bitmap;    //    Bitmapclass to show bitmaps    
  26.     PtBlob        *m_pBlob;   //    Blob
  27. protected:
  28.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  29.     virtual void Init ();
  30.  
  31.     // Generated message map functions
  32.     //{{AFX_MSG(CShowPictDlg)
  33.     afx_msg void OnPaint();            //    paint bitmap in dialogwindow
  34.     virtual BOOL OnInitDialog();    //    prepaire bitmap
  35.     //}}AFX_MSG
  36.     DECLARE_MESSAGE_MAP()
  37. public:
  38.     CShowPictDlg(CWnd* pParent, PtBlob *pBlob);    // extended constructor, PtBlob added to
  39.                                                 // ClassWizards standard constructor
  40.     ~CShowPictDlg () {}
  41.  
  42. // Dialog Data
  43.     //{{AFX_DATA(CShowPictDlg)
  44.     enum { IDD = IDR_SHOW_PICT };
  45.         // NOTE: the ClassWizard will add data members here
  46.     //}}AFX_DATA
  47. };
  48.  
  49. #endif    //    __PICTDLG_H__